package model;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

@Entity
@Table(name="t_Baokao")
public class Baokao implements Serializable{

	private static final long serialVersionUID = -7141419035239709511L;

	private long id;
	
	private Kemu kemu;
	
	private User user;
	
	private String zhuangtai;//未审核 审核通过 审核不通过
	
	private Date createtime;
	

	

	

	public Date getCreatetime() {
		return createtime;
	}

	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}

	@Id
	@GeneratedValue
	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	@ManyToOne
	@JoinColumn(name="kemuid")
	public Kemu getKemu() {
		return kemu;
	}

	
	public void setKemu(Kemu kemu) {
		this.kemu = kemu;
	}

	@ManyToOne
	@JoinColumn(name="userid")
	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public String getZhuangtai() {
		return zhuangtai;
	}

	public void setZhuangtai(String zhuangtai) {
		this.zhuangtai = zhuangtai;
	}

	

	

	
	
	
	
	
}
